package com.dock.classin.service;

import com.dock.classin.base.PayPalVo;
import com.dock.classin.base.Paypal;
import org.codehaus.jettison.json.JSONException;

import javax.servlet.http.HttpServletRequest;
import java.io.IOException;
import java.util.List;

public interface ApiService {
    public String pay(PayPalVo payPalVo) throws JSONException;
    public String refund(String dingdan_code,Paypal paypal) throws JSONException;
    public String refund_query(String merOrderId, String targetOrderId) throws JSONException;
    public String zhifuhuidiao(HttpServletRequest request) throws IOException;
}
